<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的</title>
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>推送</title>
    <link rel="stylesheet" href="css/base.css" />
    <link rel="stylesheet" href="css/iconfont.css" />
    <link rel="stylesheet" href="css/personage.css" />
    <link rel="stylesheet" href="css/all.css" />
    <link rel="stylesheet" href="css/footer.css" />
</head>
<body>
<div>
    <div class="introduce">
        <div onclick="location.href=''">
    <div class="portrait">
        <img src="img/touxiang.png" alt=""> 
    </div>
        </div>
        <div onclick="location.href='./personal-date.html'">
        <div class="introduces">
            <p>俺叫: <span id="personageNickName"></span></p>
            <p>ID：<span id="personageID">1425041</span></p>
        </div>
        </div>
    </div>
    <div>
        <ul>
            <li>
                <div onclick="location.href='./my-balance.html'">
                <div class="list">
                    <i class="iconfont icon-amount1"></i>
                    <span>我的余额</span>
                    <i class="iconfont icon-xiangyoujiantou"></i>
                </div>
                </div>
            </li>
            <li>
                <div onclick="location.href='./my-assignment.html'">
                    <div class="list">
                        <i class="iconfont icon-renwu"></i>
                        <span>我的任务</span>
                        <i class="iconfont icon-xiangyoujiantou"></i>
                    </div>
                </div>
            </li>
            <li>
                <div onclick="location.href='./contact-us.html'">
                    <div class="list">
                        <i class="iconfont icon-guanyuwomen"></i>
                        <span>联系我们</span>
                        <i class="iconfont icon-xiangyoujiantou"></i>
                    </div>
                </div>
            </li>
            <li>
                <div onclick="location.href='./set.html'">
                    <div class="list">
                        <i class="iconfont icon-shezhi"></i>
                        <span>设置</span>
                        <i class="iconfont icon-xiangyoujiantou"></i>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="footer">
        <ul class="flex" id="bottom">
            <li class="footer-one">
                <a href="home-page.html">
                    <i class="iconfont icon-xiazai45"></i>
                    <i class="shouye"> 首页</i>
                </a>
            </li>
            <li class="footer-one">
                <a href="push-merchants.html">
                    <i class="iconfont icon-weibiaoti2fuzhi15"></i>
                    <i>发现</i>
                </a>
            </li>
            <li class="footer-one">
                <a href="personage.html">
                    <i class="iconfont icon-wode"></i>
                    <i>我的</i>
                </a>
            </li>
        </ul>
    </div>
</div>
<script src="js/jquery.js"></script>
<script src="js/x_rem.js"></script>
<script src="js/all.js"></script>
<script type="text/javascript">
	//			获取资料
	(function(){
		//ajxs要传送的参数
		 var data={
		 	
		 }
		 //请求成功后调用的函数
		var success=(data)=>{
			console.log(data);
			//头像不等于空的话
			if(data.message.portrait != null){
//				$("#personal-profile").attr("src",data.message.portrait);   //把头像换上去
				$(".portrait img").attr("src",data.message.portrait);
			}
			
			if(data.message.nickName != null){
				$("#personageNickName").text(data.message.nickName);
 
			}
			$("#personageID").text(data.message.userName);
			
		}
		 
		 Hajax("post", "/user/getUsers", data, success)
	})();
	
	
	
	
	
	
</script>
</body>
</html>